export const setUserStorage = (params) => {
  const value = JSON.stringify(params)
  localStorage.setItem('userInfo', value)
}
export const getUserStorage = () => {
  return localStorage.getItem('userInfo')?JSON.parse(localStorage.getItem('userInfo')) : null
}
export const removeUserStorage = () => {
  localStorage.removeItem('userInfo')
}